<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class GoldRecordModel extends Model
{

    protected $table = 'goldrecord';

    protected $primaryKey = 'iSeqId';

    public $timestamps = false;


    public function addRecord($data) {
        if(!empty($data)){
            $bool = $this->insertGetId($data);
        }
       return !empty($bool) ? $bool: '';
    }



}
